import ChiVoxSDK from 'chivox';
import Config from './config';

import $ from 'jquery';
import '../css/chivox-example.css';
import '../css/scne.css';

let mode = ChiVoxSDK.MODE.HTML5;
//let mode = ChiVoxSDK.MODE.FLASH;

let aIndex = 0;

let T = "情景介绍<br/>角色：小李，学生<br/>情景： Mrs. Smith 想了解一下小李所在学校的一些情况。<br/>提示：小李所在的学校在市中心，只有小学和初中，没有高中。小李读初三，每天有八节课，晚上要自习。他们班有五十六个学生，小李很喜欢他的老师和同学们。<br/>你将扮演小李的角色回答Mrs. Smith 的问题。";
let A = [];
A[0] = {
    "qid": "PAPER-000001-QT-000004",
    "role": "b",
    "lm": [{
        "text": "Good morning. My name is Linda Smith. Can you tell me where your school is.",
        "active": "1",
        "role": "a"
    }, {
        "text": " City Center.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Our school is in the centre of city.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " In the central part.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " It is in the downtown.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, my school is in the center of the city.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " My school is in the centre of city.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " It's in the centre of the city.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " My school is in the center of the city.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " It is in the downtown.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Good morning. My name is Li. My school is in the city centre.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Our school is in the city centre.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Su Yuan Middle School, in the centre of the city.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Hi Linda my name is Xiao Li. My school is in the city centre.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": "Thank you. How many grades are there in your school?",
        "active": "0",
        "role": "a"
    }, {
        "text": " Nine grades. We have primary education and junior education.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are primary school, middle school and senior high school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm not sure about it.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine. There is a primary school and a middle school in my school. There isn't a high school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in our school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in our school, primary school and secondary school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in my school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " You're welcome. There are nine grades in our school. The school has primary part and junior part. It doesn't have senior part.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in my school and two departments. The departments are the primary department and the junior department.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Which grade are you in? How many students are there in your class? ",
        "active": "0",
        "role": "a"
    }, {
        "text": " I am a nine year students and there are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in Grade three in middle school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Junior three. Fifty six students.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in Grade nine which is junior three. There are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Grade nine. There are fifty six students.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in Grade nine. There are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in Grade nine.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in Grade nine. And there are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in grade nine, and there are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in Grade nine. We have fifty six students in our class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in grade nine. And there are fifty six students in our class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " In Grade nine. There are fifty six students in our class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in grade three of junior department and there are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Do you have many classes everyday? ",
        "active": "0",
        "role": "a"
    }, {
        "text": " Eight classes.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are eight classes in a day and we also have evening classes.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, eight classes every day.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, eight in all.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, I have. I have eight classes every day and even have classes in the evenings.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes. I have eight classes everyday, and in the evening we need to study by ourselves in the classroom.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes. I have eight lessons everyday.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, we do. We have eight classes every day.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, I have eight classes everyday.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, I have eight classes every day, and I have to study by myself in the evening.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Of course. We have eight lessons everyday.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " We have eight classes in the daytime and we also need to have evening classes.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I have eight classes everyday but I also study by myself every evening.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " What do you think of your teachers and classmates? ",
        "active": "0",
        "role": "a"
    }, {
        "text": " I like them very much because they are kind.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are very friendly and I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They're nice. I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are lovely and I do live them.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I love my teachers and classmates very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are very friendly. I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are friendly. I love them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I love my teachers and classmates very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are nice. I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I like them very much, and they also like me a lot.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They're all kind. I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They're all very nice and I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I really like them all.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }]
};


A[1] = {
    "qid": "PAPER-000001-QT-000005",
    "role": "b",
    "lm": [{
        "text": "Good morning. My name is Linda Smith. Can you tell me where your school is.",
        "active": "0",
        "role": "a"
    }, {
        "text": " City Center.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Our school is in the centre of city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " In the central part.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " It is in the downtown.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, my school is in the center of the city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " My school is in the centre of city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " It's in the centre of the city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " My school is in the center of the city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " It is in the downtown.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Good morning. My name is Li. My school is in the city centre.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Our school is in the city centre.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Su Yuan Middle School, in the centre of the city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Hi Linda my name is Xiao Li. My school is in the city centre.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": "Thank you. How many grades are there in your school?",
        "active": "1",
        "role": "a"
    }, {
        "text": " Nine grades. We have primary education and junior education.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are primary school, middle school and senior high school.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm not sure about it.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine. There is a primary school and a middle school in my school. There isn't a high school.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in our school.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in our school, primary school and secondary school.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in my school.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " You're welcome. There are nine grades in our school. The school has primary part and junior part. It doesn't have senior part.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in my school and two departments. The departments are the primary department and the junior department.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Which grade are you in? How many students are there in your class? ",
        "active": "0",
        "role": "a"
    }, {
        "text": " I am a nine year students and there are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in Grade three in middle school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Junior three. Fifty six students.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in Grade nine which is junior three. There are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Grade nine. There are fifty six students.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in Grade nine. There are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in Grade nine.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in Grade nine. And there are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in grade nine, and there are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in Grade nine. We have fifty six students in our class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in grade nine. And there are fifty six students in our class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " In Grade nine. There are fifty six students in our class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in grade three of junior department and there are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Do you have many classes everyday? ",
        "active": "0",
        "role": "a"
    }, {
        "text": " Eight classes.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are eight classes in a day and we also have evening classes.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, eight classes every day.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, eight in all.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, I have. I have eight classes every day and even have classes in the evenings.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes. I have eight classes everyday, and in the evening we need to study by ourselves in the classroom.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes. I have eight lessons everyday.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, we do. We have eight classes every day.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, I have eight classes everyday.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, I have eight classes every day, and I have to study by myself in the evening.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Of course. We have eight lessons everyday.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " We have eight classes in the daytime and we also need to have evening classes.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I have eight classes everyday but I also study by myself every evening.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " What do you think of your teachers and classmates? ",
        "active": "0",
        "role": "a"
    }, {
        "text": " I like them very much because they are kind.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are very friendly and I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They're nice. I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are lovely and I do live them.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I love my teachers and classmates very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are very friendly. I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are friendly. I love them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I love my teachers and classmates very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are nice. I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I like them very much, and they also like me a lot.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They're all kind. I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They're all very nice and I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I really like them all.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }]
};

A[2] = {
    "qid": "PAPER-000001-QT-000006",
    "role": "b",
    "lm": [{
        "text": "Good morning. My name is Linda Smith. Can you tell me where your school is.",
        "active": "0",
        "role": "a"
    }, {
        "text": " City Center.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Our school is in the centre of city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " In the central part.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " It is in the downtown.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, my school is in the center of the city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " My school is in the centre of city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " It's in the centre of the city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " My school is in the center of the city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " It is in the downtown.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Good morning. My name is Li. My school is in the city centre.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Our school is in the city centre.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Su Yuan Middle School, in the centre of the city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Hi Linda my name is Xiao Li. My school is in the city centre.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": "Thank you. How many grades are there in your school?",
        "active": "0",
        "role": "a"
    }, {
        "text": " Nine grades. We have primary education and junior education.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are primary school, middle school and senior high school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm not sure about it.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine. There is a primary school and a middle school in my school. There isn't a high school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in our school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in our school, primary school and secondary school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in my school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " You're welcome. There are nine grades in our school. The school has primary part and junior part. It doesn't have senior part.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in my school and two departments. The departments are the primary department and the junior department.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Which grade are you in? How many students are there in your class? ",
        "active": "1",
        "role": "a"
    }, {
        "text": " I am a nine year students and there are fifty six students in my class.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in Grade three in middle school.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Junior three. Fifty six students.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in Grade nine which is junior three. There are fifty six students in my class.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Grade nine. There are fifty six students.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in Grade nine. There are fifty six students in my class.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in Grade nine.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in Grade nine. And there are fifty six students in my class.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in grade nine, and there are fifty six students in my class.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in Grade nine. We have fifty six students in our class.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in grade nine. And there are fifty six students in our class.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " In Grade nine. There are fifty six students in our class.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in grade three of junior department and there are fifty six students in my class.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Do you have many classes everyday? ",
        "active": "0",
        "role": "a"
    }, {
        "text": " Eight classes.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are eight classes in a day and we also have evening classes.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, eight classes every day.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, eight in all.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, I have. I have eight classes every day and even have classes in the evenings.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes. I have eight classes everyday, and in the evening we need to study by ourselves in the classroom.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes. I have eight lessons everyday.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, we do. We have eight classes every day.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, I have eight classes everyday.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, I have eight classes every day, and I have to study by myself in the evening.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Of course. We have eight lessons everyday.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " We have eight classes in the daytime and we also need to have evening classes.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I have eight classes everyday but I also study by myself every evening.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " What do you think of your teachers and classmates? ",
        "active": "0",
        "role": "a"
    }, {
        "text": " I like them very much because they are kind.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are very friendly and I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They're nice. I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are lovely and I do live them.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I love my teachers and classmates very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are very friendly. I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are friendly. I love them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I love my teachers and classmates very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are nice. I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I like them very much, and they also like me a lot.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They're all kind. I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They're all very nice and I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I really like them all.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }]
};
//    "snt": [//
//"I am a nine year students and there are fifty six students in my class.", "I'm in Grade three in middle school.", "Junior three. Fifty six students.", "I am in Grade nine which is junior three. There are fifty six students in my class.", "Grade nine. There are fifty six students.", "I am in Grade nine. There are fifty six students in my class.", "I'm in Grade nine.", "I'm in Grade nine. And there are fifty six students in my class.", "I'm in grade nine, and there are fifty six students in my class.", "I am in Grade nine. We have fifty six students in our class.", "I'm in grade nine. And there are fifty six students in our class.", "In Grade nine. There are fifty six students in our class.", "I am in grade three of junior department and there are fifty six students in my class."]
//};

A[3] = {
    "qid": "PAPER-000001-QT-000007",
    "role": "b",
    "lm": [{
        "text": "Good morning. My name is Linda Smith. Can you tell me where your school is.",
        "active": "0",
        "role": "a"
    }, {
        "text": " City Center.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Our school is in the centre of city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " In the central part.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " It is in the downtown.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, my school is in the center of the city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " My school is in the centre of city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " It's in the centre of the city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " My school is in the center of the city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " It is in the downtown.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Good morning. My name is Li. My school is in the city centre.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Our school is in the city centre.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Su Yuan Middle School, in the centre of the city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Hi Linda my name is Xiao Li. My school is in the city centre.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": "Thank you. How many grades are there in your school?",
        "active": "0",
        "role": "a"
    }, {
        "text": " Nine grades. We have primary education and junior education.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are primary school, middle school and senior high school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm not sure about it.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine. There is a primary school and a middle school in my school. There isn't a high school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in our school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in our school, primary school and secondary school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in my school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " You're welcome. There are nine grades in our school. The school has primary part and junior part. It doesn't have senior part.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in my school and two departments. The departments are the primary department and the junior department.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Which grade are you in? How many students are there in your class? ",
        "active": "0",
        "role": "a"
    }, {
        "text": " I am a nine year students and there are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in Grade three in middle school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Junior three. Fifty six students.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in Grade nine which is junior three. There are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Grade nine. There are fifty six students.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in Grade nine. There are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in Grade nine.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in Grade nine. And there are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in grade nine, and there are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in Grade nine. We have fifty six students in our class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in grade nine. And there are fifty six students in our class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " In Grade nine. There are fifty six students in our class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in grade three of junior department and there are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Do you have many classes everyday? ",
        "active": "1",
        "role": "a"
    }, {
        "text": " Eight classes.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are eight classes in a day and we also have evening classes.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, eight classes every day.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, eight in all.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, I have. I have eight classes every day and even have classes in the evenings.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes. I have eight classes everyday, and in the evening we need to study by ourselves in the classroom.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes. I have eight lessons everyday.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, we do. We have eight classes every day.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, I have eight classes everyday.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, I have eight classes every day, and I have to study by myself in the evening.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Of course. We have eight lessons everyday.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " We have eight classes in the daytime and we also need to have evening classes.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I have eight classes everyday but I also study by myself every evening.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " What do you think of your teachers and classmates? ",
        "active": "0",
        "role": "a"
    }, {
        "text": " I like them very much because they are kind.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are very friendly and I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They're nice. I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are lovely and I do live them.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I love my teachers and classmates very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are very friendly. I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are friendly. I love them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I love my teachers and classmates very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are nice. I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I like them very much, and they also like me a lot.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They're all kind. I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They're all very nice and I like them very much.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I really like them all.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }]
    //    "snt": [//
    //"Eight classes.", "There are eight classes in a day and we also have evening classes.", "Yes, eight classes every day.", "Yes, eight in all.", "Yes, I have. I have eight classes every day and even have classes in the evenings.", "Yes. I have eight classes everyday, and in the evening we need to study by ourselves in the classroom.", "Yes. I have eight lessons everyday.", "Yes, we do. We have eight classes every day.", "Yes, I have eight classes everyday.", "Yes, I have eight classes every day, and I have to study by myself in the evening.", "Of course. We have eight lessons everyday.", "We have eight classes in the daytime and we also need to have evening classes.", "I have eight classes everyday but I also study by myself every evening."]
};

A[4] = {
    "qid": "PAPER-000001-QT-000008",
    "role": "b",
    "lm": [{
        "text": "Good morning. My name is Linda Smith. Can you tell me where your school is.",
        "active": "0",
        "role": "a"
    }, {
        "text": " City Center.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Our school is in the centre of city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " In the central part.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " It is in the downtown.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, my school is in the center of the city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " My school is in the centre of city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " It's in the centre of the city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " My school is in the center of the city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " It is in the downtown.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Good morning. My name is Li. My school is in the city centre.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Our school is in the city centre.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Su Yuan Middle School, in the centre of the city.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Hi Linda my name is Xiao Li. My school is in the city centre.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": "Thank you. How many grades are there in your school?",
        "active": "0",
        "role": "a"
    }, {
        "text": " Nine grades. We have primary education and junior education.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are primary school, middle school and senior high school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm not sure about it.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine. There is a primary school and a middle school in my school. There isn't a high school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in our school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in our school, primary school and secondary school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in my school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " You're welcome. There are nine grades in our school. The school has primary part and junior part. It doesn't have senior part.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Nine.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are nine grades in my school and two departments. The departments are the primary department and the junior department.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Which grade are you in? How many students are there in your class? ",
        "active": "0",
        "role": "a"
    }, {
        "text": " I am a nine year students and there are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in Grade three in middle school.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Junior three. Fifty six students.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in Grade nine which is junior three. There are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Grade nine. There are fifty six students.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in Grade nine. There are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in Grade nine.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in Grade nine. And there are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in grade nine, and there are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in Grade nine. We have fifty six students in our class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I'm in grade nine. And there are fifty six students in our class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " In Grade nine. There are fifty six students in our class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I am in grade three of junior department and there are fifty six students in my class.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Do you have many classes everyday? ",
        "active": "0",
        "role": "a"
    }, {
        "text": " Eight classes.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " There are eight classes in a day and we also have evening classes.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, eight classes every day.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, eight in all.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, I have. I have eight classes every day and even have classes in the evenings.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes. I have eight classes everyday, and in the evening we need to study by ourselves in the classroom.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes. I have eight lessons everyday.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, we do. We have eight classes every day.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, I have eight classes everyday.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Yes, I have eight classes every day, and I have to study by myself in the evening.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " Of course. We have eight lessons everyday.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " We have eight classes in the daytime and we also need to have evening classes.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I have eight classes everyday but I also study by myself every evening.",
        "active": "0",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " What do you think of your teachers and classmates? ",
        "active": "1",
        "role": "a"
    }, {
        "text": " I like them very much because they are kind.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are very friendly and I like them very much.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They're nice. I like them very much.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are lovely and I do live them.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I love my teachers and classmates very much.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are very friendly. I like them very much.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are friendly. I love them very much.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I love my teachers and classmates very much.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They are nice. I like them very much.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I like them very much, and they also like me a lot.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They're all kind. I like them very much.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " They're all very nice and I like them very much.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }, {
        "text": " I really like them all.",
        "active": "1",
        "answer": 1.0,
        "role": "b"
    }]
};

let questionList = [];
for (var i in A[0].lm) {
    if (A[0].lm[i].role == "a") {
        questionList.push(A[0].lm[i].text);
    }
}

let html = T;
for (var i = 0; i < A.length; i++) {
    html += '<hr/><p>' + questionList[i] + '</p>';
    html += '<div>';
    html += '  <button class="record" dataIndex="' + i + '"></button>';
    html += '  <button class="replay"></button>';
    html += '  <div class="recordProgressBar">';
    html += '    <div class="value"></div>';
    html += '  </div>';
    html += '  <div id="scoreResult" class="scoreResult" style="height:30px;">'
    html += '    总分：<span class="overall"></span><br/>';
    html += '    Tips：<span class="tips"></span>';
    html += '  </div>';
    html += '</div>';
}
$(".mainarea .currentParagraph").html(html);

let sdk = new ChiVoxSDK({
    appKey: Config.appKey,
    mode: mode,
    sigurl: "/token",
    data: {
        audioUrl: "",
        duration: 10000,
        serverParams: {
            coreType: "en.scne.exam",
            userId: "chivox tester",
        }
    },

    onInit: (errno, err) => {
        console.info('[ onInit ]:', errno, err);
    },

    onError: (err) => {
        console.error('[ onError ]:', err);
    },

    onBeforeRecord: (ele) => {
        aIndex = parseInt($(ele).attr("dataIndex"));

        sdk.options.data.serverParams.refText = A[aIndex];
        sdk.options.data.serverParams.rank = parseFloat($('#rank').val());
        sdk.options.data.serverParams.precision = parseFloat($('#precision').val());

        $("#scoreResult .overall").eq(aIndex).empty();
        $("#scoreResult .tips").eq(aIndex).empty();
    },

    onScore: (data) => {
        $("#scoreResult .overall").eq(aIndex).html(data.result.overall);
        $("#scoreResult .tips").eq(aIndex).html(data.result.tips);
    },

    onScoreError: (errorType) => { //评分失败的显示 "TIMEOUT", "NO_DATA", ErrorID
        var errorObj = ChiVoxSDK.StatusCode.get(errorType, "cn");
        alert(errorObj.feedback);
    }
});
